package com.shxy.controller;

import com.shxy.common.entity.CustomResult;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.multipart.MultipartFile;

/**
 * 文件上传控制器
 */
@RestController
@RequestMapping("/v1/file")
public class FileController {

    /**
     * 上传文件
     * @param file
     * @return
     */
    @PostMapping("/upload")
    public CustomResult upload(MultipartFile file){
        return null;
    }
}
